package com.kwlt.smc.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 号段基础表
 * @author tbicool
 *
 */

@Entity
@Table(name="THEM_ROUGHLY")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ThemRoughly {

	private Long themRoughlyId;
	/**
	 * 号段
	 */
	private String phone;
	/**
	 * 所属省份
	 */
	private String provinces;
	/**
	 * 所属运营商
	 */
	private String operators;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long getThemRoughlyId() {
		return themRoughlyId;
	}
	public void setThemRoughlyId(Long themRoughlyId) {
		this.themRoughlyId = themRoughlyId;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getProvinces() {
		return provinces;
	}
	public void setProvinces(String provinces) {
		this.provinces = provinces;
	}
	public String getOperators() {
		return operators;
	}
	public void setOperators(String operators) {
		this.operators = operators;
	}
	
	
}
